<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.6"/>
<title>JSON Voorhees: jsonv::extraction_context Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<script type="text/x-mathjax-config">
  MathJax.Hub.Config({
    extensions: ["tex2jax.js"],
    jax: ["input/TeX","output/HTML-CSS"],
});
</script><script src="http://www.mathjax.org/mathjax/MathJax.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">JSON Voorhees
   </div>
   <div id="projectbrief">Killer JSON for C++</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.6 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="pages.html"><span>Related&#160;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('classjsonv_1_1extraction__context.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Macros</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Groups</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(11)"><span class="SelectionMark">&#160;</span>Pages</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="classjsonv_1_1extraction__context-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">jsonv::extraction_context Class Reference<div class="ingroups"><a class="el" href="group__Serialization.html">Serialization</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for jsonv::extraction_context:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
 <div class="center">
  <img src="classjsonv_1_1extraction__context.png" usemap="#jsonv::extraction_context_map" alt=""/>
  <map id="jsonv::extraction_context_map" name="jsonv::extraction_context_map">
<area href="classjsonv_1_1context__base.html" title="Provides extra information to routines used for extraction. " alt="jsonv::context_base" shape="rect" coords="0,0,150,24"/>
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a9624a27eea2b7ed047055b51e36cc237"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#a9624a27eea2b7ed047055b51e36cc237">extraction_context</a> ()</td></tr>
<tr class="memdesc:a9624a27eea2b7ed047055b51e36cc237"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new instance using the default <code>formats</code> (<code><a class="el" href="classjsonv_1_1formats.html#a4403758d5e87d0862a04fc5d9171991d" title="Get the global formats instance. ">formats::global</a></code>).  <a href="#a9624a27eea2b7ed047055b51e36cc237">More...</a><br/></td></tr>
<tr class="separator:a9624a27eea2b7ed047055b51e36cc237"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae173d17d09afe5dd5ffba6c0f4399874"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#ae173d17d09afe5dd5ffba6c0f4399874">extraction_context</a> (<a class="el" href="classjsonv_1_1formats.html">jsonv::formats</a> fmt, const <a class="el" href="structjsonv_1_1version.html">jsonv::version</a> &amp;ver=<a class="el" href="structjsonv_1_1version.html">jsonv::version</a>(), <a class="el" href="classjsonv_1_1path.html">jsonv::path</a> p=<a class="el" href="classjsonv_1_1path.html">jsonv::path</a>(), const void *userdata=nullptr)</td></tr>
<tr class="memdesc:ae173d17d09afe5dd5ffba6c0f4399874"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new instance using the given <em>fmt</em>, <em>ver</em> and <em>p</em>.  <a href="#ae173d17d09afe5dd5ffba6c0f4399874">More...</a><br/></td></tr>
<tr class="separator:ae173d17d09afe5dd5ffba6c0f4399874"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af0e81b4935d94bef16f656ccd45eda55"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classjsonv_1_1path.html">jsonv::path</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#af0e81b4935d94bef16f656ccd45eda55">path</a> () const </td></tr>
<tr class="memdesc:af0e81b4935d94bef16f656ccd45eda55"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the current <code>path</code> this <code><a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a></code> is extracting for.  <a href="#af0e81b4935d94bef16f656ccd45eda55">More...</a><br/></td></tr>
<tr class="separator:af0e81b4935d94bef16f656ccd45eda55"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a10e56517662919b5316adcf26e2095bc"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a10e56517662919b5316adcf26e2095bc"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#a10e56517662919b5316adcf26e2095bc">extract</a> (const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from) const </td></tr>
<tr class="memdesc:a10e56517662919b5316adcf26e2095bc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to extract a <code>T</code> from <em>from</em> using the <code>formats</code> associated with this context.  <a href="#a10e56517662919b5316adcf26e2095bc">More...</a><br/></td></tr>
<tr class="separator:a10e56517662919b5316adcf26e2095bc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9806e825399aa07d4c21d3f39ad39ff2"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9806e825399aa07d4c21d3f39ad39ff2"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>extract</b> (const std::type_info &amp;type, const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from, void *into) const </td></tr>
<tr class="separator:a9806e825399aa07d4c21d3f39ad39ff2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71d973519b73a827f78a308c2d496038"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a71d973519b73a827f78a308c2d496038"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#a71d973519b73a827f78a308c2d496038">extract_sub</a> (const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from, <a class="el" href="classjsonv_1_1path.html">jsonv::path</a> subpath) const </td></tr>
<tr class="memdesc:a71d973519b73a827f78a308c2d496038"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to extract a <code>T</code> from <code>from.at_path(subpath)</code> using the <code>formats</code> associated with this context.  <a href="#a71d973519b73a827f78a308c2d496038">More...</a><br/></td></tr>
<tr class="separator:a71d973519b73a827f78a308c2d496038"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9657b578883eab549bc28f939a87cb8"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9657b578883eab549bc28f939a87cb8"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>extract_sub</b> (const std::type_info &amp;type, const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from, <a class="el" href="classjsonv_1_1path.html">jsonv::path</a> subpath, void *into) const </td></tr>
<tr class="separator:af9657b578883eab549bc28f939a87cb8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a81e0b159f846a1cb8bea1687285835f0"><td class="memTemplParams" colspan="2">template&lt;typename T &gt; </td></tr>
<tr class="memitem:a81e0b159f846a1cb8bea1687285835f0"><td class="memTemplItemLeft" align="right" valign="top">T&#160;</td><td class="memTemplItemRight" valign="bottom"><a class="el" href="classjsonv_1_1extraction__context.html#a81e0b159f846a1cb8bea1687285835f0">extract_sub</a> (const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;from, <a class="el" href="classjsonv_1_1path__element.html">path_element</a> elem) const </td></tr>
<tr class="memdesc:a81e0b159f846a1cb8bea1687285835f0"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attempt to extract a <code>T</code> from <code>from.at_path({elem})</code> using the <code>formats</code> associated with this context.  <a href="#a81e0b159f846a1cb8bea1687285835f0">More...</a><br/></td></tr>
<tr class="separator:a81e0b159f846a1cb8bea1687285835f0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classjsonv_1_1context__base"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classjsonv_1_1context__base')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classjsonv_1_1context__base.html">jsonv::context_base</a></td></tr>
<tr class="memitem:a43f445f3d44d5bd78e1cc9dee440ca63 inherit pub_methods_classjsonv_1_1context__base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1context__base.html#a43f445f3d44d5bd78e1cc9dee440ca63">context_base</a> ()</td></tr>
<tr class="memdesc:a43f445f3d44d5bd78e1cc9dee440ca63 inherit pub_methods_classjsonv_1_1context__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new instance using the default <code>formats</code> (<code><a class="el" href="classjsonv_1_1formats.html#a4403758d5e87d0862a04fc5d9171991d" title="Get the global formats instance. ">formats::global</a></code>).  <a href="#a43f445f3d44d5bd78e1cc9dee440ca63">More...</a><br/></td></tr>
<tr class="separator:a43f445f3d44d5bd78e1cc9dee440ca63 inherit pub_methods_classjsonv_1_1context__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7ae9085313c6150a02a1385607ee5929 inherit pub_methods_classjsonv_1_1context__base"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1context__base.html#a7ae9085313c6150a02a1385607ee5929">context_base</a> (<a class="el" href="classjsonv_1_1formats.html">jsonv::formats</a> fmt, const <a class="el" href="structjsonv_1_1version.html">jsonv::version</a> &amp;ver=<a class="el" href="structjsonv_1_1version.html">jsonv::version</a>(1), const void *userdata=nullptr)</td></tr>
<tr class="memdesc:a7ae9085313c6150a02a1385607ee5929 inherit pub_methods_classjsonv_1_1context__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Create a new instance using the given <em>fmt</em>, <em>ver</em> and <em>p</em>.  <a href="#a7ae9085313c6150a02a1385607ee5929">More...</a><br/></td></tr>
<tr class="separator:a7ae9085313c6150a02a1385607ee5929 inherit pub_methods_classjsonv_1_1context__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1fda6ccfbfa7410fa7c61749d6834404 inherit pub_methods_classjsonv_1_1context__base"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="classjsonv_1_1formats.html">jsonv::formats</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1context__base.html#a1fda6ccfbfa7410fa7c61749d6834404">formats</a> () const </td></tr>
<tr class="memdesc:a1fda6ccfbfa7410fa7c61749d6834404 inherit pub_methods_classjsonv_1_1context__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the <code>formats</code> object backing extraction and encoding.  <a href="#a1fda6ccfbfa7410fa7c61749d6834404">More...</a><br/></td></tr>
<tr class="separator:a1fda6ccfbfa7410fa7c61749d6834404 inherit pub_methods_classjsonv_1_1context__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad561e860ce9209021de176f646538f3f inherit pub_methods_classjsonv_1_1context__base"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="structjsonv_1_1version.html">jsonv::version</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1context__base.html#ad561e860ce9209021de176f646538f3f">version</a> () const </td></tr>
<tr class="memdesc:ad561e860ce9209021de176f646538f3f inherit pub_methods_classjsonv_1_1context__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the version this <code><a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a></code> was created with.  <a href="#ad561e860ce9209021de176f646538f3f">More...</a><br/></td></tr>
<tr class="separator:ad561e860ce9209021de176f646538f3f inherit pub_methods_classjsonv_1_1context__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f87d18955e76fc53ae74bdf5be242dc inherit pub_methods_classjsonv_1_1context__base"><td class="memItemLeft" align="right" valign="top">const void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classjsonv_1_1context__base.html#a8f87d18955e76fc53ae74bdf5be242dc">user_data</a> () const </td></tr>
<tr class="memdesc:a8f87d18955e76fc53ae74bdf5be242dc inherit pub_methods_classjsonv_1_1context__base"><td class="mdescLeft">&#160;</td><td class="mdescRight">Get a pointer to arbitrary user data.  <a href="#a8f87d18955e76fc53ae74bdf5be242dc">More...</a><br/></td></tr>
<tr class="separator:a8f87d18955e76fc53ae74bdf5be242dc inherit pub_methods_classjsonv_1_1context__base"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p>Definition at line <a class="el" href="serialization_8hpp_source.html#l00500">500</a> of file <a class="el" href="serialization_8hpp_source.html">serialization.hpp</a>.</p>
</div><h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a9624a27eea2b7ed047055b51e36cc237"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">jsonv::extraction_context::extraction_context </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Create a new instance using the default <code>formats</code> (<code><a class="el" href="classjsonv_1_1formats.html#a4403758d5e87d0862a04fc5d9171991d" title="Get the global formats instance. ">formats::global</a></code>). </p>

</div>
</div>
<a class="anchor" id="ae173d17d09afe5dd5ffba6c0f4399874"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">jsonv::extraction_context::extraction_context </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classjsonv_1_1formats.html">jsonv::formats</a>&#160;</td>
          <td class="paramname"><em>fmt</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structjsonv_1_1version.html">jsonv::version</a> &amp;&#160;</td>
          <td class="paramname"><em>ver</em> = <code><a class="el" href="structjsonv_1_1version.html">jsonv::version</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classjsonv_1_1path.html">jsonv::path</a>&#160;</td>
          <td class="paramname"><em>p</em> = <code><a class="el" href="classjsonv_1_1path.html">jsonv::path</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const void *&#160;</td>
          <td class="paramname"><em>userdata</em> = <code>nullptr</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Create a new instance using the given <em>fmt</em>, <em>ver</em> and <em>p</em>. </p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a class="anchor" id="a10e56517662919b5316adcf26e2095bc"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T jsonv::extraction_context::extract </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempt to extract a <code>T</code> from <em>from</em> using the <code>formats</code> associated with this context. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>is the type to extract from <em>from</em>. It must be movable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1extraction__error.html" title="Exception thrown if there is any problem running extract. ">extraction_error</a></td><td>if anything goes wrong when attempting to extract a value. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="serialization_8hpp_source.html#l00531">531</a> of file <a class="el" href="serialization_8hpp_source.html">serialization.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a71d973519b73a827f78a308c2d496038"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T jsonv::extraction_context::extract_sub </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classjsonv_1_1path.html">jsonv::path</a>&#160;</td>
          <td class="paramname"><em>subpath</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempt to extract a <code>T</code> from <code>from.at_path(subpath)</code> using the <code>formats</code> associated with this context. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>is the type to extract from <em>from</em>. It must be movable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1extraction__error.html" title="Exception thrown if there is any problem running extract. ">extraction_error</a></td><td>if anything goes wrong when attempting to extract a value. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="serialization_8hpp_source.html#l00552">552</a> of file <a class="el" href="serialization_8hpp_source.html">serialization.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="a81e0b159f846a1cb8bea1687285835f0"></a>
<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename T &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">T jsonv::extraction_context::extract_sub </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classjsonv_1_1value.html">value</a> &amp;&#160;</td>
          <td class="paramname"><em>from</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classjsonv_1_1path__element.html">path_element</a>&#160;</td>
          <td class="paramname"><em>elem</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Attempt to extract a <code>T</code> from <code>from.at_path({elem})</code> using the <code>formats</code> associated with this context. </p>
<dl class="tparams"><dt>Template Parameters</dt><dd>
  <table class="tparams">
    <tr><td class="paramname">T</td><td>is the type to extract from <em>from</em>. It must be movable.</td></tr>
  </table>
  </dd>
</dl>
<dl class="exception"><dt>Exceptions</dt><dd>
  <table class="exception">
    <tr><td class="paramname"><a class="el" href="classjsonv_1_1extraction__error.html" title="Exception thrown if there is any problem running extract. ">extraction_error</a></td><td>if anything goes wrong when attempting to extract a value. </td></tr>
  </table>
  </dd>
</dl>

<p>Definition at line <a class="el" href="serialization_8hpp_source.html#l00570">570</a> of file <a class="el" href="serialization_8hpp_source.html">serialization.hpp</a>.</p>

</div>
</div>
<a class="anchor" id="af0e81b4935d94bef16f656ccd45eda55"></a>
<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="classjsonv_1_1path.html">jsonv::path</a>&amp; jsonv::extraction_context::path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>Get the current <code>path</code> this <code><a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a></code> is extracting for. </p>
<p>This is useful when debugging and generating error messages. </p>

<p>Definition at line <a class="el" href="serialization_8hpp_source.html#l00519">519</a> of file <a class="el" href="serialization_8hpp_source.html">serialization.hpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>jsonv/<a class="el" href="serialization_8hpp_source.html">serialization.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>jsonv</b></li><li class="navelem"><a class="el" href="classjsonv_1_1extraction__context.html">extraction_context</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.6 </li>
  </ul>
</div>
</body>
</html>
